using UnityEngine;

public class DebugUtil
{
	public static bool IsDebug;

	public static void Log(object message)
	{
		if (IsDebug)
		{
			UnityEngine.Debug.Log(message);
		}
	}

	public static void OnThrowException(object message)
	{
		Log("Exception: " + message);
	}
}
